/*
 * @Author: lmk
 * @Date: 2022-04-17 21:10:48
 * @LastEditTime: 2022-04-27 20:50:45
 * @LastEditors: lmk
 * @Description: 
 */
import request from '@/utils/request'

/**
 * @description: 获取首页banner
 * @param {*} 
 * @return {*}
 */
export function getBanner(){
  return request({
    url:'/website-banner/listWebsiteBanner'
  })
}
/**
 * @description: 留言
 * @param {*} data:{levelContent:'',levelName:'',levelPhone:'',email:''}
 * @return {*}
 */
export function levelMessage(data){
  return request({
    data,
    url:'/website-level-message/insertOrUpdate',
    method:'post',
  })
}
/**
 * @description: 乐团简介
 * @param {*} 
 * @return {*}
 */
export function getWebsiteBandById(){
  return request({
    url:'/website-band/getWebsiteBandById'
  })
}
/**
 * @description: 当月哪些时间段有活动
 * @param {*} {map:{},month:""}
 * @return {*}
 */
export function listActivityDate(data){
  return request({
    data,
    url:'/website-activity/listActivityDate',
    method:'post',
  })
}
/**
 * @description: 当月活动列表
 * @param {*} {current:1,size:"",type:'',activityName:'',date:''}
 * @return {*}
 */
export function pageWebsiteActivity(data){
  return request({
    data,
    url:'/website-activity/pageWebsiteActivity',
    method:'post',
  })
}
/**
 * @description: 我们的乐团-首页
 * @param {*}
 * @return {*}
 */
export function listWebsiteActor(){
  return request({
    url:'/website-actor/listWebsiteActor',
  })
}
/**
 * @description: 新闻列表
 * @param {*} {current:1,size:10,informationName:''}
 * @return {*}
 */
export function pageWebsiteInformation(data){
  return request({
    data,
    url:'/website-information/pageWebsiteInformation',
    method:'post',
  })
}
/**
 * @description: 活动商品-首页
 * @return {*}
 */
export function listWebsiteGoods(){
  return request({
    url:'/website-goods/listWebsiteGoods',
    method:'post',
  })
}
/**
 * @description: 活动详情
 * @param {*} {activityId:''}
 * @return {*}
 */
export function getActivityVo(data){
  return request({
    data,
    url:'/website-activity/getActivityVo',
    method:'post',
  })
}
/**
 * @description: 新闻详情
 * @param {*} {activityId:''}
 * @return {*}
 */
export function getWebsiteInformationById(data){
  return request({
    data,
    url:'/website-information/getWebsiteInformationById',
    method:'post',
  })
}
/**
 * @description: 友情链接
 * @param {*}
 * @return {*}
 */
export function listWebsiteThreeLinks(){
  return request({
    url:'/website-three-links/listWebsiteThreeLinks'
  })
}
/**
 * @description: 商品列表
 * @param {*} {current:1,size:10,goodsName:''}
 * @return {*}
 */
export function pageWebsiteGoods(data){
  return request({
    data,
    url:'/website-goods/pageWebsiteGoods',
    method:'post',
  })
}
/**
 * @description: 商品列表
 * @param {*} {current:1,size:10,actorType:'' // 1指挥家 2 团员}
 * @return {*}
 */
export function pageWebsiteActor(data){
  return request({
    data,
    url:'/website-actor/pageWebsiteActor',
    method:'post',
  })
}
/**
 * @description: 人员详情
 * @param {*} {actorId:''}
 * @return {*}
 */
export function getWebsiteActorById(data){
  return request({
    data,
    url:'/website-actor/getWebsiteActorById',
    method:'post',
  })
}